package entity

import (
	"kop/pb"
	"time"
)

type Member struct {
	RoleID     int32             `gorm:"type:int;primary_key"`
	GuildID    int32             `gorm:"index"`
	Position   pb.GuildPosition  `gorm:"type:smallint"`
	Points     int32             // 当前贡献
	Points2    int32             // 历史总贡献
	BuildType  pb.GuildBuildType `gorm:"type:smallint"`
	BuildDate  int32             // 建设日期
	OnlineTime time.Time
	CreatedAt  time.Time
	UpdatedAt  time.Time
}
